<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><s:property value="#session.access"/></title>
<meta name="viewport" content="width=device-width,inital-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="format-detection" content="telephone=no,email=no,adress=no">
<link href="<%=request.getContextPath()%>/css/global.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath() %>/css/bootstrap.css" type="text/css" rel="stylesheet"/>
<link href="<%=request.getContextPath() %>/css/bootstrap-responsive.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/bootstrap.js"></script>
<script type="text/javascript">
function formSubmit(){
	if($("#subPwdOld").val()==""){
		$("#subPwdOld").focus();
		return;
	}
	if($("#subPwd").val()==""){
		$("#subPwd").focus();
		return;
	}
	if($("#subPwdRepeat").val()==""){
		$("#subPwdRepeat").focus();
		return;
	}
	$("#sform").submit();
}
</script>
</head>
<body>
	<div class="container">
		
		<s:action name="global_menu"  executeResult="true"></s:action>
		
		<div class="row">
			<div class="span12">
					<ul class="breadcrumb">
						<li>
							<a href="javascript:void(0)">首页</a> <span class="divider">/</span>
						</li>
						<li>
							<a href="javascript:void(0)">个人中心</a> <span class="divider">/</span>
						</li>
						<li class="active">
							修改密码
						</li>
					</ul>
					
					<h4>
						修改登录密码
					</h4>
					
					 <form id="sform" class="form-horizontal" action="<%=request.getContextPath() %>/subject_savepwd.html" method="post" enctype="multipart/form-data">
						<fieldset>
							<legend></legend>
							<div class="control-group">
								<label class="control-label" >原密码</label>
								<div class="controls">
									<input type="text" class="input-xlarge" id="subPwdOld" name="subPwdOld" value="" />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" >新密码</label>
								<div class="controls">
									<input type="text" class="input-xlarge" id="subPwd" name="subPwd" value="" />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" >再输一次</label>
								<div class="controls">
									<input type="text" class="input-xlarge" id="subPwdRepeat" name="subPwdRepeat" value="" />
								</div>
							</div>
							
							<div class="form-actions">
								<input type="button" class="btn btn-primary" onclick="formSubmit();" value="保存"/>
								<input type="button" class="btn" onclick="location.href='<%=request.getContextPath()%>/subject_show.html'" value="取消"/>
							</div>
						</fieldset>
					</form>
					
				</div>
		</div>
		
		
		<s:action name="global_foot"  executeResult="true"></s:action>
	</div>
</body>
</html>